package com.azirkxs.clothes.cys.mapper;

import com.azirkxs.clothes.cys.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author azirkxs
 * @since 2023-04-09
 */
public interface UserMapper extends BaseMapper<User> {
    public List<Map> getTagNameByUserId(Integer userId);

    public List<Map> getArmoireByUserId(Integer userId);

    public List<Map> getPersonalReocommend(Integer userId);

    void insertUser(User user);

    User getUserByUsername(String username);

    void infoEdit (User user);

    int changePassword(Map<String,Object> map);
}
